package com.xueyi.system.audit.service.impl;

import com.xueyi.system.audit.domain.query.BaseAuditPlanQuery;
import com.xueyi.system.audit.domain.dto.BaseAuditPlanDto;
import com.xueyi.system.audit.service.IBaseAuditPlanService;
import com.xueyi.system.audit.manager.IBaseAuditPlanManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 内审计划管理 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseAuditPlanServiceImpl extends BaseServiceImpl<BaseAuditPlanQuery, BaseAuditPlanDto, IBaseAuditPlanManager> implements IBaseAuditPlanService {

    /**
     * 查询内审计划对象列表 | 数据权限 | 附加数据
     *
     * @param auditPlan 内审计划对象
     * @return 内审计划对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseAuditPlanMapper"})
    public List<BaseAuditPlanDto> selectListScope(BaseAuditPlanQuery auditPlan) {
        return baseManager.selectListExtra(auditPlan);
    }

}